ObjectClosedException

public final class ObjectClosedException extends IllegalStateException

This exception indicates an attempt to use an already closed object.

Usually, it happens when you call the close() method of an object (or its owner) prior to calling methods of that object.

Another common cause of this exception is working with cached DOM or JavaScript objects. For example, if you navigate to another web page and try to call a method of a DOM or a JavaScript object from the previous page, you will get this exception.

It's also possible that the native Chromium process crashes. In that case, all the objects that belong to that process are closed automatically.

The following article explains this exception in detail: ObjectClosedException.

Constructors

Link copied to clipboard
public void ObjectClosedException()
Creates the exception.

Properties

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
public final synchronized void addSuppressed(Throwable exception)
Link copied to clipboard
public synchronized Throwable fillInStackTrace()
Link copied to clipboard
public synchronized Throwable getCause()
Link copied to clipboard
Link copied to clipboard
public String getMessage()
Link copied to clipboard
Link copied to clipboard
public final synchronized Array<Throwable> getSuppressed()
Link copied to clipboard
public synchronized Throwable initCause(Throwable cause)
Link copied to clipboard
public void printStackTrace()
Link copied to clipboard
public void setStackTrace(Array<StackTraceElement> stackTrace)
Link copied to clipboard
public String toString()